package com.study.rpc04.server;

import com.study.common.IUserService;
import com.study.common.User;

/**
 * 放在不同的包更合理，表明server端提供了方法实现
 */
class UserServiceImpl implements IUserService {
    @Override
    public User findUserById(Integer id) {
        return new User(id, "Alice");
    }
}
